define([
  'jquery',
  'underscore',
  'backbone'
], function($, _, Backbone){  
		  var photoView = Backbone.View.extend({
				tagName:  "div id='photoDiv'",
				template: _.template($('#photo-template').html()),
				render: function() {
					var model = this.model.toJSON();
					model.keywords = model.keywords.split(",");
					var templF = _.template($('#tooltip-item-template').html());
					model.html = templF({title: model.title, description: model.description});
					this.$el.html(this.template(model));
					return this;
				}
		  });
		return photoView;
});